home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / ppmtoicr.1 < prev    next >
Text File  |  1995-07-25  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4.      ppppppppmmmmttttooooiiiiccccrrrr((((1111))))       XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((33330000 JJJJuuuullllyyyy 1111999999990000))))       ppppppppmmmmttttooooiiiiccccrrrr((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           ppmtoicr - convert a portable pixmap into NCSA ICR format
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ppppppppmmmmttttooooiiiiccccrrrr [----wwwwiiiinnnnddddoooowwwwnnnnaaaammmmeeee _n_a_m_e] [----eeeexxxxppppaaaannnndddd _e_x_p_a_n_d] [----ddddiiiissssppppllllaaaayyyy
  13.           _d_i_s_p_l_a_y] [----rrrrlllleeee] [_p_p_m_f_i_l_e]
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.           Reads a portable pixmap file as input.  Produces an NCSA
  17.           Telnet Interactive Color Raster graphic file as output.  If
  18.           _p_p_m_f_i_l_e is not supplied, _p_p_m_t_o_i_c_r will read from standard
  19.           input.
  20.  
  21.           Interactive Color Raster (ICR) is a protocol for displaying
  22.           raster graphics on workstation screens. The protocol is
  23.           implemented in NCSA Telnet for the Macintosh version 2.3.
  24.           The ICR protocol shares characteristics of the Tektronix
  25.           graphics terminal emulation protocol.  For example, escape
  26.           sequences are used to control the display.
  27.  
  28.           _p_p_m_t_o_i_c_r will output the appropriate sequences to create a
  29.           window of the dimensions of the input pixmap, create a
  30.           colormap of up to 256 colors on the display, then load the
  31.           picture data into the window.
  32.  
  33.           Note that there is no icrtoppm tool - this transformation is
  34.           one way.
  35.  
  36.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  37.           ----wwwwiiiinnnnddddoooowwwwnnnnaaaammmmeeee_n_a_m_e
  38.                         Output will be displayed in _n_a_m_e (Default is
  39.                         to use _p_p_m_f_i_l_e or "untitled" if standard input
  40.                         is read.)
  41.  
  42.           ----eeeexxxxppppaaaannnndddd_e_x_p_a_n_d Output will be expanded on display by factor
  43.                         _e_x_p_a_n_d (For example, a value of 2 will cause
  44.                         four pixels to be displayed for every input
  45.                         pixel.)
  46.  
  47.           ----ddddiiiissssppppllllaaaayyyy_d_i_s_p_l_a_y
  48.                         Output will be displayed on screen numbered
  49.                         _d_i_s_p_l_a_y
  50.  
  51.           ----rrrrlllleeee          Use run-length encoded format for display.
  52.                         (This will nearly always result in a quicker
  53.                         display, but may skew the colormap.)
  54.  
  55.      EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  56.           To display a _p_p_m file using the protocol:
  57.               ppmtoicr ppmfile
  58.           This will create a window named _p_p_m_f_i_l_e on the display with
  59.           the correct dimensions for _p_p_m_f_i_l_e, create and download a
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      ppppppppmmmmttttooooiiiiccccrrrr((((1111))))       XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((33330000 JJJJuuuullllyyyy 1111999999990000))))       ppppppppmmmmttttooooiiiiccccrrrr((((1111))))
  71.  
  72.  
  73.  
  74.           colormap of up to 256 colors, and download the picture into
  75.           the window. The same effect may be achieved by the following
  76.           sequence:
  77.               ppmtoicr ppmfile > filename
  78.               cat filename
  79.           To display a GIF file using the protocol in a window titled
  80.           after the input file, zoom the displayed image by a factor
  81.           of 2, and run-length encode the data:
  82.               giftoppm giffile | ppmtoicr -w giffile -r -e 2
  83.  
  84.      BBBBUUUUGGGGSSSS
  85.           The protocol uses frequent _f_f_l_u_s_h calls to speed up display.
  86.           If the output is saved to a file for later display via _c_a_t,
  87.           drawing will be much slower. In either case, increasing the
  88.           Blocksize limit on the display will speed up transmission
  89.           substantially.
  90.  
  91.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  92.           ppppppppmmmm((((5555))))
  93.  
  94.           _N_C_S_A _T_e_l_n_e_t _f_o_r _t_h_e _M_a_c_i_n_t_o_s_h, University of Illinois at
  95.           Urbana-Champaign (1989)
  96.  
  97.      AAAAUUUUTTTTHHHHOOOORRRR
  98.           Copyright (C) 1990 by Kanthan Pillay
  99.           (svpillay@Princeton.EDU), Princeton University Computing and
  100.           Information Technology.
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                           (printed 9/7/93)
  130.  
  131.  
  132.  
  133.